//
//  FGAlertConfigure.h
//  Flashfish
//
//  Created by LWF on 2018/5/22.
//  Copyright © 2018年 杭州东九网络科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@class FGAlertButton;

API_DEPRECATED("No longer supported; please use FGBaseAlertView instead", ios(4.0, 8.0)) @interface FGAlertConfigure : NSObject

@property (nonatomic, copy) NSString *topBgName; //tag = 0
@property (nonatomic, copy) NSString *topIcon; //tag = 1
@property (nonatomic, copy) NSString *msg;
@property (nonatomic, assign) BOOL canDelete;
@property (nonatomic, strong) NSArray<FGAlertButton *> *btns;

@end

API_DEPRECATED("No longer supported; please use FGBaseAlertView instead", ios(4.0, 8.0)) @interface FGAlertButton : UIButton

/**
 * return canDismissAlert 默认YES
 * 点击按钮是否可以dismiss TF为空时不想让它dismiss这里处理   按钮点击最先调用它然后再做其他的事
 *needCallBack 是否需要回调showUsingBlock 默认YES
 */
@property (nonatomic, copy) BOOL(^canClickDismissBlock)(BOOL *needCallBack);
+ (instancetype)title:(NSString *)title;
+ (instancetype)title:(NSString *)title titleColor:(UIColor *)titleColor;
+ (instancetype)title:(NSString *)title titleColor:(UIColor *)titleColor titleFont:(UIFont *)titleFont;
+ (instancetype)title:(NSString *)title titleColor:(UIColor *)titleColor titleFont:(UIFont *)titleFont bgColor:(UIColor *)bgColor;

@end
